home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_100 / 144_01 / mergem.hlp < prev    next >
Text File  |  1985-08-19  |  2KB  |  51 lines

  1. **********************************************************************
  2. *                               MERGEM                               *
  3. **********************************************************************
  4. *                  COPYRIGHT 1983 EUGENE H. MALLORY                  *
  5. **********************************************************************
  6. PROGRAM:
  7.     MERGEM - Merges multiple files into a single file.
  8. USAGE:
  9.     MERGEM [<fid] [-R] [-U] [-Cn] [-Ln] [-H] [>fid]
  10. FUNCTION:
  11.     This program merges multiple files into a single output files.
  12.     Input is a list of file names. Output is a single file which
  13.     is in sorted order.  The input files must all be sorted with 
  14.     the same options as used with the merge.
  15.     
  16.     NOTE: THE INPUT FILES ARE DELETED AS THEY ARE MERGED TOGETHER.
  17.     
  18.     Options include:
  19.     
  20.     -R   Reverse order sort.
  21.     -U   Convert to upper case before comparing.
  22.     -Cn  First column to begin compare. 1 is default.
  23.          It is ok to specify a position longer than some
  24.          lines.  Lines shorter will compare as equal.
  25.     -Ln  Length of field to compare.  Full line length is default.
  26.     -H   Display the available options.
  27.     
  28. EXAMPLE:
  29.     SPLIT <BIGFILE |SORTM <A -C10L10R |MERGEM -C10L10R >BIGFILE.SRT
  30.  
  31. COMMENTS:
  32.     The input files are deleted as they are merged.  
  33.     
  34.  
  35.  
  36.         Command Line                       
  37.  
  38. ___________________________________  
  39.                                   |  
  40.                                   |  
  41.                                   |  OPTIONS
  42.                                   |  
  43.                                   |                  
  44.                     ______________V______________    
  45.  Standard Input     |                           |   Standard Output
  46.    FILE LIST        |                           |    SORTED FILE   
  47. ------------------->|          MERGEM           |----------------------->
  48.                     |                           |
  49.                     |                           |
  50.                     |___________________________|
  51.